CVE-2024-42145
Linux kernel IB/core Denial of Service (DoS)
Description
In the Linux kernel, the following vulnerability has been resolved: IB/core: Implement a limit on UMAD receive List The existing behavior of ib_umad, which maintains received MAD packets in an unbounded list, poses a risk of uncontrolled growth. As user-space applications extract packets from this list, the rate of extraction may not match the rate of incoming packets, leading to potential list overflow. To address this, we introduce a limit to the size of the list. After considering typical scenarios, such as OpenSM processing, which can handle approximately 100k packets per second, and the 1-second retry timeout for most packets, we set the list size limit to 200k. Packets received beyond this limit are dropped, assuming they are likely timed out by the time they are handled by user-space. Notably, packets queued on the receive list due to reasons like timed-out sends are preserved even when the list is full.
INFO
Published Date :
July 30, 2024, 8:15 a.m.
Last Modified :
Dec. 11, 2024, 3:23 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update the affected kernel packages.
- Reboot the system to apply changes.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-42145
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-42145
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-42145
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-42145
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-42145
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Dec. 11, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NIST CWE-770 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 4.19.318 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.280 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.222 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.163 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.98 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.39 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.9.9 Changed Reference Type https://git.kernel.org/stable/c/1288cf1cceb0e6df276e182f5412370fb4169bcb No Types Assigned https://git.kernel.org/stable/c/1288cf1cceb0e6df276e182f5412370fb4169bcb Patch Changed Reference Type https://git.kernel.org/stable/c/1288cf1cceb0e6df276e182f5412370fb4169bcb No Types Assigned https://git.kernel.org/stable/c/1288cf1cceb0e6df276e182f5412370fb4169bcb Patch Changed Reference Type https://git.kernel.org/stable/c/62349fbf86b5e13b02721bdadf98c29afd1e7b5f No Types Assigned https://git.kernel.org/stable/c/62349fbf86b5e13b02721bdadf98c29afd1e7b5f Patch Changed Reference Type https://git.kernel.org/stable/c/62349fbf86b5e13b02721bdadf98c29afd1e7b5f No Types Assigned https://git.kernel.org/stable/c/62349fbf86b5e13b02721bdadf98c29afd1e7b5f Patch Changed Reference Type https://git.kernel.org/stable/c/63d202d948bb6d3a28cd8e8b96b160fa53e18baa No Types Assigned https://git.kernel.org/stable/c/63d202d948bb6d3a28cd8e8b96b160fa53e18baa Patch Changed Reference Type https://git.kernel.org/stable/c/63d202d948bb6d3a28cd8e8b96b160fa53e18baa No Types Assigned https://git.kernel.org/stable/c/63d202d948bb6d3a28cd8e8b96b160fa53e18baa Patch Changed Reference Type https://git.kernel.org/stable/c/a6627fba793cc75b7365d9504a0095fb2902dda4 No Types Assigned https://git.kernel.org/stable/c/a6627fba793cc75b7365d9504a0095fb2902dda4 Patch Changed Reference Type https://git.kernel.org/stable/c/a6627fba793cc75b7365d9504a0095fb2902dda4 No Types Assigned https://git.kernel.org/stable/c/a6627fba793cc75b7365d9504a0095fb2902dda4 Patch Changed Reference Type https://git.kernel.org/stable/c/b4913702419d064ec4c4bbf7270643c95cc89a1b No Types Assigned https://git.kernel.org/stable/c/b4913702419d064ec4c4bbf7270643c95cc89a1b Patch Changed Reference Type https://git.kernel.org/stable/c/b4913702419d064ec4c4bbf7270643c95cc89a1b No Types Assigned https://git.kernel.org/stable/c/b4913702419d064ec4c4bbf7270643c95cc89a1b Patch Changed Reference Type https://git.kernel.org/stable/c/b8c5f635997f49c625178d1a0cb32a80ed33abe6 No Types Assigned https://git.kernel.org/stable/c/b8c5f635997f49c625178d1a0cb32a80ed33abe6 Patch Changed Reference Type https://git.kernel.org/stable/c/b8c5f635997f49c625178d1a0cb32a80ed33abe6 No Types Assigned https://git.kernel.org/stable/c/b8c5f635997f49c625178d1a0cb32a80ed33abe6 Patch Changed Reference Type https://git.kernel.org/stable/c/ca0b44e20a6f3032224599f02e7c8fb49525c894 No Types Assigned https://git.kernel.org/stable/c/ca0b44e20a6f3032224599f02e7c8fb49525c894 Patch Changed Reference Type https://git.kernel.org/stable/c/ca0b44e20a6f3032224599f02e7c8fb49525c894 No Types Assigned https://git.kernel.org/stable/c/ca0b44e20a6f3032224599f02e7c8fb49525c894 Patch Changed Reference Type https://git.kernel.org/stable/c/d73cb8862e4d6760ccc94d3b57b9ef6271400607 No Types Assigned https://git.kernel.org/stable/c/d73cb8862e4d6760ccc94d3b57b9ef6271400607 Patch Changed Reference Type https://git.kernel.org/stable/c/d73cb8862e4d6760ccc94d3b57b9ef6271400607 No Types Assigned https://git.kernel.org/stable/c/d73cb8862e4d6760ccc94d3b57b9ef6271400607 Patch -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/1288cf1cceb0e6df276e182f5412370fb4169bcb Added Reference https://git.kernel.org/stable/c/62349fbf86b5e13b02721bdadf98c29afd1e7b5f Added Reference https://git.kernel.org/stable/c/63d202d948bb6d3a28cd8e8b96b160fa53e18baa Added Reference https://git.kernel.org/stable/c/a6627fba793cc75b7365d9504a0095fb2902dda4 Added Reference https://git.kernel.org/stable/c/b4913702419d064ec4c4bbf7270643c95cc89a1b Added Reference https://git.kernel.org/stable/c/b8c5f635997f49c625178d1a0cb32a80ed33abe6 Added Reference https://git.kernel.org/stable/c/ca0b44e20a6f3032224599f02e7c8fb49525c894 Added Reference https://git.kernel.org/stable/c/d73cb8862e4d6760ccc94d3b57b9ef6271400607 -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 30, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: IB/core: Implement a limit on UMAD receive List The existing behavior of ib_umad, which maintains received MAD packets in an unbounded list, poses a risk of uncontrolled growth. As user-space applications extract packets from this list, the rate of extraction may not match the rate of incoming packets, leading to potential list overflow. To address this, we introduce a limit to the size of the list. After considering typical scenarios, such as OpenSM processing, which can handle approximately 100k packets per second, and the 1-second retry timeout for most packets, we set the list size limit to 200k. Packets received beyond this limit are dropped, assuming they are likely timed out by the time they are handled by user-space. Notably, packets queued on the receive list due to reasons like timed-out sends are preserved even when the list is full. Added Reference kernel.org https://git.kernel.org/stable/c/1288cf1cceb0e6df276e182f5412370fb4169bcb [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/b4913702419d064ec4c4bbf7270643c95cc89a1b [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/62349fbf86b5e13b02721bdadf98c29afd1e7b5f [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/d73cb8862e4d6760ccc94d3b57b9ef6271400607 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/63d202d948bb6d3a28cd8e8b96b160fa53e18baa [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/b8c5f635997f49c625178d1a0cb32a80ed33abe6 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/a6627fba793cc75b7365d9504a0095fb2902dda4 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/ca0b44e20a6f3032224599f02e7c8fb49525c894 [No types assigned]